package org.example.strategy;

import org.example.Constants;
import org.example.Parser;

import java.io.File;

public class JsonParser implements Parser {

    public String parse(File file) throws Exception {
        return "我是Json格式解析";
    }

    public String getType() {
        return Constants.JSON_PARSER;
    }
}
